package com.action;

import java.util.List;

import org.junit.Test;

import com.dao.DepartDao;
import com.dao.LoginDao;
import com.proj.Depart;
import com.proj.User;

public class test {
	DepartDao d = new DepartDao();
	LoginDao u = new LoginDao();
	@Test
	public void m01(){
		List<Depart> list = d.getdepartname();
		for(Depart d:list){
			System.out.println(d.getD_name());
		}
	}
	@Test
	public void m02(){
		List<User> list = u.getAllUser() ;
		for(User u:list){
			System.out.println(u.getA_id());
		}
	}
}
